#define boolean  unsigned char:0
struct dma{
	boolean  DRQ[4];
	boolean DACK[4];
	u8 mask[4];
	u8 flip_flop;
	u8	status_reg;
	u8 	command_reg;
	u8	ctrl_diasabled;
	struct{
		struct mode{
			u8	mode_type;
			u8	address_decrement;
			u8	autoinit_enable;
			u8	transfer_type;
		};
		u16	base_address;
		u16	current_address;
		u16	base_count;
		u16	current_count;
		u8	page_reg;
		u8	used;
	}channel[4];
}s[2];		
u8	HLDA;
u8	TC;
